package com.sc.auction.auction.service;

import com.sc.auction.auction.bean.AuctionVo;
import com.sc.auction.auction.bean.PageQuery;
import com.sc.auction.auction.bean.SuperAuctionVo;
import com.sc.auction.auction.pojo.Auction;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sc.auction.common.util.R;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pgc
 * @since 2020-09-01
 */
public interface AuctionService extends IService<Auction> {
  public R findAuctionInfoById(Integer a);
  public List<AuctionVo> findAuctionSixByTime();

  public List<AuctionVo> findAuctionSixAlreadyByTime();

  public List<AuctionVo> findBargainSixAuction();

  //未开拍的列表展示
  public SuperAuctionVo getWaitList(long page, long limit, PageQuery pageQuery);

  //开拍的列表展示
  public SuperAuctionVo getOnList(long page,long limit,String goodsName);


}
